From: Adel Gadllah Date: Sat, 11 Sep 2010 17:01:42 +0000 (+0200) Subject: [appSwitcher] Close the switcher on Meta_L/R release X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9762 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=246d9f135763748754b7d835f666fbeb0a2444a1;p=gnome-shell.git [appSwitcher] Close the switcher on Meta_L/R release The keyReleaseEvent handler does not take into account that a user might release Alt while still holding shift (the keycode becomes Meta_L/R in that case). The result is that the switcher stays open which is unexpected. https://bugzilla.gnome.org/show_bug.cgi?id=629368 --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 0b301678a..641739518 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -266,7 +266,7 @@ AltTabPopup.prototype = { _keyReleaseEvent : function(actor, event) { let keysym = event.get_key_symbol(); - if (keysym == Clutter.Alt_L || keysym == Clutter.Alt_R) + if (keysym == Clutter.Alt_L || keysym == Clutter.Alt_R || keysym == Clutter.Meta_L || keysym == Clutter.Meta_R) this._finish(); return true;